Variable Rate Serial to Parallel Shift Register

ABSTRACT

A shift register structure is presented that can be used in fixed or variable rate serial to parallel data conversions. In an 1 to N conversion, data is received off an m-bit serial data bus and loaded into a N by m wide latch, before being transfer out onto an (N×m)-wide parallel data bus. Based on information on how of the N m-bit wide data units are to be ignored, the data will be clocked out at a variable rate. When loading data off the serial bus into the latch, upon refresh the current data is loaded into all N units of the latch, with one less latch being loaded at each subsequent clock. When the content of a unit of latch is to be ignored on the parallel bus, that unit is closed at the same time as the preceding unit so that it is left with redundant data.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is related to a patent application entitled “Variable Rate Parallel to Serial Shift Register” by Wanfang Tsai, which is being filed concurrently with this application and is hereby incorporated by reference in its entirety.

FIELD OF THE INVENTION

This invention relates generally to converting data from a parallel to a serial format and, more specifically, to techniques for variable rate parallel to serial shift registers.

BACKGROUND OF THE INVENTION

Solid-state memory capable of nonvolatile storage of charge, particularly in the form of EEPROM and flash EEPROM packaged as a small form factor card, has recently become the storage of choice in a variety of mobile and handheld devices, notably information appliances and consumer electronics products. Unlike RAM (random access memory) that is also solid-state memory, flash memory is non-volatile, retaining its stored data even after power is turned off. In spite of the higher cost, flash memory is increasingly being used in mass storage applications. Conventional mass storage, based on rotating magnetic medium such as hard drives and floppy disks, is unsuitable for the mobile and handheld environment. This is because disk drives tend to be bulky, are prone to mechanical failure and have high latency and high power requirements. These undesirable attributes make disk-based storage impractical in most mobile and portable applications. On the other hand, flash memory, both embedded and in the form of a removable card is ideally suited in the mobile and handheld environment because of its small size, low power consumption, high speed and high reliability features.

EEPROM and electrically programmable read-only memory (EPROM) are non-volatile memory that can be erased and have new data written or “programmed” into their memory cells. Both utilize a floating (unconnected) conductive gate, in a field effect transistor structure, positioned over a channel region in a semiconductor substrate, between source and drain regions. A control gate is then provided over the floating gate. The threshold voltage characteristic of the transistor is controlled by the amount of charge that is retained on the floating gate. That is, for a given level of charge on the floating gate, there is a corresponding voltage (threshold) that must be applied to the control gate before the transistor is turned “on” to permit conduction between its source and drain regions.

The floating gate can hold a range of charges and therefore can be programmed to any threshold voltage level within a threshold voltage window. The size of the threshold voltage window is delimited by the minimum and maximum threshold levels of the device, which in turn correspond to the range of the charges that can be programmed onto the floating gate. The threshold window generally depends on the memory device's characteristics, operating conditions and history. Each distinct, resolvable threshold voltage level range within the window may, in principle, be used to designate a definite memory state of the cell.

The transistor serving as a memory cell is typically programmed to a “programmed” state by one of two mechanisms. In “hot electron injection,” a high voltage applied to the drain accelerates electrons across the substrate channel region. At the same time a high voltage applied to the control gate pulls the hot electrons through a thin gate dielectric onto the floating gate. In “tunneling injection,” a high voltage is applied to the control gate relative to the substrate. In this way, electrons are pulled from the substrate to the intervening floating gate.

The memory device may be erased by a number of mechanisms. For EPROM, the memory is bulk erasable by removing the charge from the floating gate by ultraviolet radiation. For EEPROM, a memory cell is electrically erasable, by applying a high voltage to the substrate relative to the control gate so as to induce electrons in the floating gate to tunnel through a thin oxide to the substrate channel region (i.e., Fowler-Nordheim tunneling.) Typically, the EEPROM is erasable byte by byte. For flash EEPROM, the memory is electrically erasable either all at once or one or more blocks at a time, where a block may consist of 512 bytes or more of memory.

Examples of Non-Volatile Memory Cells

The memory devices typically comprise one or more memory chips that may be mounted on a card. Each memory chip comprises an array of memory cells supported by peripheral circuits such as decoders and erase, write and read circuits. The more sophisticated memory devices also come with a controller that performs intelligent and higher level memory operations and interfacing. There are many commercially successful non-volatile solid-state memory devices being used today. These memory devices may employ different types of memory cells, each type having one or more charge storage element.

FIGS. 1A-1E illustrate schematically different examples of non-volatile memory cells.

FIG. 1A illustrates schematically a non-volatile memory in the form of an EEPROM cell with a floating gate for storing charge. An electrically erasable and programmable read-only memory (EEPROM) has a similar structure to EPROM, but additionally provides a mechanism for loading and removing charge electrically from its floating gate upon application of proper voltages without the need for exposure to UV radiation. Examples of such cells and methods of manufacturing them are given in U.S. Pat. No. 5,595,924.

FIG. 1B illustrates schematically a flash EEPROM cell having both a select gate and a control or steering gate. The memory cell 10 has a “split-channel” 12 between source 14 and drain 16 diffusions. A cell is formed effectively with two transistors T1 and T2 in series. T1 serves as a memory transistor having a floating gate 20 and a control gate 30. The floating gate is capable of storing a selectable amount of charge. The amount of current that can flow through the T1's portion of the channel depends on the voltage on the control gate 30 and the amount of charge residing on the intervening floating gate 20. T2 serves as a select transistor having a select gate 40. When T2 is turned on by a voltage at the select gate 40, it allows the current in the T1's portion of the channel to pass between the source and drain. The select transistor provides a switch along the source-drain channel independent of the voltage at the control gate. One advantage is that it can be used to turn off those cells that are still conducting at zero control gate voltage due to their charge depletion (positive) at their floating gates. The other advantage is that it allows source side injection programming to be more easily implemented.

One simple embodiment of the split-channel memory cell is where the select gate and the control gate are connected to the same word line as indicated schematically by a dotted line shown in FIG. 1B. This is accomplished by having a charge storage element (floating gate) positioned over one portion of the channel and a control gate structure (which is part of a word line) positioned over the other channel portion as well as over the charge storage element. This effectively forms a cell with two transistors in series, one (the memory transistor) with a combination of the amount of charge on the charge storage element and the voltage on the word line controlling the amount of current that can flow through its portion of the channel, and the other (the select transistor) having the word line alone serving as its gate. Examples of such cells, their uses in memory systems and methods of manufacturing them are given in U.S. Pat. Nos. 5,070,032, 5,095,344, 5,315,541, 5,343,063, and 5,661,053.

A more refined embodiment of the split-channel cell shown in FIG. 1B is when the select gate and the control gate are independent and not connected by the dotted line between them. One implementation has the control gates of one column in an array of cells connected to a control (or steering) line perpendicular to the word line. The effect is to relieve the word line from having to perform two functions at the same time when reading or programming a selected cell. Those two functions are (1) to serve as a gate of a select transistor, thus requiring a proper voltage to turn the select transistor on and off, and (2) to drive the voltage of the charge storage element to a desired level through an electric field (capacitive) coupling between the word line and the charge storage element. It is often difficult to perform both of these functions in an optimum manner with a single voltage. With the separate control of the control gate and the select gate, the word line need only perform function (1), while the added control line performs function (2). This capability allows for design of higher performance programming where the programming voltage is geared to the targeted data. The use of independent control (or steering) gates in a flash EEPROM array is described, for example, in U.S. Pat. Nos. 5,313,421 and 6,222,762.

FIG. 1C illustrates schematically another flash EEPROM cell having dual floating gates and independent select and control gates. The memory cell 10 is similar to that of FIG. 1B except it effectively has three transistors in series. In this type of cell, two storage elements (i.e., that of T1—left and T1—right) are included over its channel between source and drain diffusions with a select transistor T1 in between them. The memory transistors have floating gates 20 and 20′, and control gates 30 and 30′, respectively. The select transistor T2 is controlled by a select gate 40. At any one time, only one of the pair of memory transistors is accessed for read or write. When the storage unit T1—left is being accessed, both the T2 and T1—right are turned on to allow the current in the T1—left's portion of the channel to pass between the source and the drain. Similarly, when the storage unit T1—right is being accessed, T2 and T1—left are turned on. Erase is effected by having a portion of the select gate polysilicon in close proximity to the floating gate and applying a substantial positive voltage (e.g. 20V) to the select gate so that the electrons stored within the floating gate can tunnel to the select gate polysilicon.

FIG. 1D illustrates schematically a string of memory cells organized into an NAND cell. An NAND cell 50 consists of a series of memory transistors M1, M2, . . . Mn (n=4, 8, 16 or higher) daisy-chained by their sources and drains. A pair of select transistors S1, S2 controls the memory transistors chain's connection to the external via the NAND cell's source terminal 54 and drain terminal 56. In a memory array, when the source select transistor S1 is turned on, the source terminal is coupled to a source line. Similarly, when the drain select transistor S2 is turned on, the drain terminal of the NAND cell is coupled to a bit line of the memory array. Each memory transistor in the chain has a charge storage element to store a given amount of charge so as to represent an intended memory state. A control gate of each memory transistor provides control over read and write operations. A control gate of each of the select transistors S1, S2 provides control access to the NAND cell via its source terminal 54 and drain terminal 56 respectively.

When an addressed memory transistor within an NAND cell is read and verified during programming, its control gate is supplied with an appropriate voltage. At the same time, the rest of the non-addressed memory transistors in the NAND cell 50 are fully turned on by application of sufficient voltage on their control gates. In this way, a conductive path is effective created from the source of the individual memory transistor to the source terminal 54 of the NAND cell and likewise for the drain of the individual memory transistor to the drain terminal 56 of the cell. Memory devices with such NAND cell structures are described in U.S. Pat. Nos. 5,570,315, 5,903,495, 6,046,935.

FIG. 1E illustrates schematically a non-volatile memory with a dielectric layer for storing charge. Instead of the conductive floating gate elements described earlier, a dielectric layer is used. Such memory devices utilizing dielectric storage element have been described by Eitan et al., “NROM: A Novel Localized Trapping, 2-Bit Nonvolatile Memory Cell,” IEEE Electron Device Letters, vol. 21, no. 11, November 2000, pp. 543-545. An ONO dielectric layer extends across the channel between source and drain diffusions. The charge for one data bit is localized in the dielectric layer adjacent to the drain, and the charge for the other data bit is localized in the dielectric layer adjacent to the source. For example, U.S. Pat. Nos. 5,768,192 and 6,011,725 disclose a nonvolatile memory cell having a trapping dielectric sandwiched between two silicon dioxide layers. Multi-state data storage is implemented by separately reading the binary states of the spatially separated charge storage regions within the dielectric.

Memory Array

A memory device typically comprises of a two-dimensional array of memory cells arranged in rows and columns and addressable by word lines and bit lines. The array can be formed according to an NOR type or an NAND type architecture.

NOR Array

FIG. 2 illustrates an example of an NOR array of memory cells. Memory devices with an NOR type architecture have been implemented with cells of the type illustrated in FIG. 1B or 1C. Each row of memory cells are connected by their sources and drains in a daisy-chain manner. This design is sometimes referred to as a virtual ground design. Each memory cell 10 has a source 14, a drain 16, a control gate 30 and a select gate 40. The cells in a row have their select gates connected to word line 42. The cells in a column have their sources and drains respectively connected to selected bit lines 34 and 36. In some embodiments where the memory cells have their control gate and select gate controlled independently, a steering line 36 also connects the control gates of the cells in a column.

Many flash EEPROM devices are implemented with memory cells where each is formed with its control gate and select gate connected together. In this case, there is no need for steering lines and a word line simply connects all the control gates and select gates of cells along each row. Examples of these designs are disclosed in U.S. Pat. Nos. 5,172,338 and 5,418,752. In these designs, the word line essentially performed two functions: row selection and supplying control gate voltage to all cells in the row for reading or programming.

NAND Array

FIG. 3 illustrates an example of an NAND array of memory cells, such as that shown in FIG. 1D. Along each column of NAND cells, a bit line is coupled to the drain terminal 56 of each NAND cell. Along each row of NAND cells, a source line may connect all their source terminals 54. Also the control gates of the NAND cells along a row are connected to a series of corresponding word lines. An entire row of NAND cells can be addressed by turning on the pair of select transistors (see FIG. 1D) with appropriate voltages on their control gates via the connected word lines. When a memory transistor within the chain of a NAND cell is being read, the remaining memory transistors in the chain are turned on hard via their associated word lines so that the current flowing through the chain is essentially dependent upon the level of charge stored in the cell being read. An example of an NAND architecture array and its operation as part of a memory system is found in U.S. Pat. Nos. 5,570,315, 5,774,397 and 6,046,935.

Block Erase

Programming of charge storage memory devices can only result in adding more charge to its charge storage elements. Therefore, prior to a program operation, existing charge in a charge storage element must be removed (or erased). Erase circuits (not shown) are provided to erase one or more blocks of memory cells. A non-volatile memory such as EEPROM is referred to as a “Flash” EEPROM when an entire array of cells, or significant groups of cells of the array, is electrically erased together (i.e., in a flash). Once erased, the group of cells can then be reprogrammed. The group of cells erasable together may consist one or more addressable erase unit. The erase unit or block typically stores one or more pages of data, the page being the unit of programming and reading, although more than one page may be programmed or read in a single operation. Each page typically stores one or more sectors of data, the size of the sector being defined by the host system. An example is a sector of 512 bytes of user data, following a standard established with magnetic disk drives, plus some number of bytes of overhead information about the user data and/or the block in with it is stored.

Read/Write Circuits

In the usual two-state EEPROM cell, at least one current breakpoint level is established so as to partition the conduction window into two regions. When a cell is read by applying predetermined, fixed voltages, its source/drain current is resolved into a memory state by comparing with the breakpoint level (or reference current I_(REF)). If the current read is higher than that of the breakpoint level, the cell is determined to be in one logical state (e.g., a “zero” state). On the other hand, if the current is less than that of the breakpoint level, the cell is determined to be in the other logical state (e.g., a “one” state). Thus, such a two-state cell stores one bit of digital information. A reference current source, which may be externally programmable, is often provided as part of a memory system to generate the breakpoint level current.

In order to increase memory capacity, flash EEPROM devices are being fabricated with higher and higher density as the state of the semiconductor technology advances. Another method for increasing storage capacity is to have each memory cell store more than two states.

For a multi-state or multi-level EEPROM memory cell, the conduction window is partitioned into more than two regions by more than one breakpoint such that each cell is capable of storing more than one bit of data. The information that a given EEPROM array can store is thus increased with the number of states that each cell can store. EEPROM or flash EEPROM with multi-state or multi-level memory cells have been described in U.S. Pat. No. 5,172,338.

In practice, the memory state of a cell is usually read by sensing the conduction current across the source and drain electrodes of the cell when a reference voltage is applied to the control gate. Thus, for each given charge on the floating gate of a cell, a corresponding conduction current with respect to a fixed reference control gate voltage may be detected. Similarly, the range of charge programmable onto the floating gate defines a corresponding threshold voltage window or a corresponding conduction current window.

Alternatively, instead of detecting the conduction current among a partitioned current window, it is possible to set the threshold voltage for a given memory state under test at the control gate and detect if the conduction current is lower or higher than a threshold current. In one implementation the detection of the conduction current relative to a threshold current is accomplished by examining the rate the conduction current is discharging through the capacitance of the bit line.

FIG. 4 illustrates the relation between the source-drain current I_(D) and the control gate voltage V_(CG) for four different charges Q1-Q4 that the floating gate may be selectively storing at any one time. The four solid I_(D) versus V_(CG) curves represent four possible charge levels that can be programmed on a floating gate of a memory cell, respectively corresponding to four possible memory states. As an example, the threshold voltage window of a population of cells may range from 0.5V to 3.5V. Six memory states may be demarcated by partitioning the threshold window into five regions in interval of 0.5V each. For example, if a reference current, I_(REF) of 2 μA is used as shown, then the cell programmed with Q1 may be considered to be in a memory state “1” since its curve intersects with I_(REF) in the region of the threshold window demarcated by V_(CG)=0.5V and 1.0V. Similarly, Q4 is in a memory state “5”.

As can be seen from the description above, the more states a memory cell is made to store, the more finely divided is its threshold window. This will require higher precision in programming and reading operations in order to be able to achieve the required resolution.

U.S. Pat. No. 4,357,685 discloses a method of programming a 2-state EPROM in which when a cell is programmed to a given state, it is subject to successive programming voltage pulses, each time adding incremental charge to the floating gate. In between pulses, the cell is read back or verified to determine its source-drain current relative to the breakpoint level. Programming stops when the current state has been verified to reach the desired state. The programming pulse train used may have increasing period or amplitude.

Prior art programming circuits simply apply programming pulses to step through the threshold window from the erased or ground state until the target state is reached. Practically, to allow for adequate resolution, each partitioned or demarcated region would require at least about five programming steps to transverse. The performance is acceptable for 2-state memory cells. However, for multi-state cells, the number of steps required increases with the number of partitions and therefore, the programming precision or resolution must be increased. For example, a 16-state cell may require on average at least 40 programming pulses to program to a target state.

FIG. 5 illustrates schematically a memory device with a typical arrangement of a memory array 100 accessible by read/write circuits 170 via row decoder 130 and column decoder 160. As described in connection with FIGS. 2 and 3, a memory transistor of a memory cell in the memory array 100 is addressable via a set of selected word line(s) and bit line(s). The row decoder 130 selects one or more word lines and the column decoder 160 selects one or more bit lines in order to apply appropriate voltages to the respective gates of the addressed memory transistor. Read/write circuits 170 are provided to read or write (program) the memory states of addressed memory transistors. The read/write circuits 170 comprise a number of read/write modules connectable via bit lines to memory elements in the array.

FIG. 6A is a schematic block diagram of an individual read/write module 190. Essentially, during read or verify, a sense amplifier determines the current flowing through the drain of an addressed memory transistor connected via a selected bit line. The current depends on the charge stored in the memory transistor and its control gate voltage. For example, in a multi-state EEPROM cell, its floating gate can be charged to one of several different levels. For a 4-level cell, it may be used to store two bits of data. The level detected by the sense amplifier is converted by a level-to-bits conversion logic to a set of data bits to be stored in a data latch.

Factors Affecting Read/Write Performance and Accuracy

In order to improve read and program performance, multiple charge storage elements or memory transistors in an array are read or programmed in parallel. Thus, a logical “page” of memory elements are read or programmed together. In existing memory architectures, a row typically contains several interleaved pages. All memory elements of a page will be read or programmed together. The column decoder will selectively connect each one of the interleaved pages to a corresponding number of read/write modules. For example, in one implementation, the memory array is designed to have a page size of 532 bytes (512 bytes plus 20 bytes of overheads.) If each column contains a drain bit line and there are two interleaved pages per row, this amounts to 8512 columns with each page being associated with 4256 columns. There will be 4256 sense modules connectable to read or write in parallel either all the even bit lines or the odd bit lines. In this way, a page of 4256 bits (i.e., 532 bytes) of data in parallel are read from or programmed into the page of memory elements. The read/write modules forming the read/write circuits 170 can be arranged into various architectures.

Referring to FIG. 5, the read/write circuits 170 is organized into banks of read/write stacks 180. Each read/write stack 180 is a stack of read/write modules 190. In a memory array, the column spacing is determined by the size of the one or two transistors that occupy it. However, as can be seen from FIG. 6A, the circuitry of a read/write module will likely be implemented with many more transistors and circuit elements and therefore will occupy a space over many columns. In order to service more than one column among the occupied columns, multiple modules are stacked up on top of each other.

FIG. 6B shows the read/write stack of FIG. 5 implemented conventionally by a stack of read/write modules 190. For example, a read/write module may extend over sixteen columns, then a read/write stack 180 with a stack of eight read/write modules can be used to service eight columns in parallel. The read/write stack can be coupled via a column decoder to either the eight odd (1, 3, 5, 7, 9, 11, 13, 15) columns or the eight even (2, 4, 6, 8, 10, 12, 14, 16) columns among the bank.

As mentioned before, conventional memory devices improve read/write operations by operating in a massively parallel manner on all even or all odd bit lines at a time. This architecture of a row consisting of two interleaved pages will help to alleviate the problem of fitting the block of read/write circuits. It is also dictated by consideration of controlling bit-line to bit-line capacitive coupling. A block decoder is used to multiplex the set of read/write modules to either the even page or the odd page. In this way, whenever one set bit lines are being read or programmed, the interleaving set can be grounded to minimize immediate neighbor coupling.

However, the interleaving page architecture is disadvantageous in at least three respects. First, it requires additional multiplexing circuitry. Secondly, it is slow in performance. To finish read or program of memory cells connected by a word line or in a row, two read or two program operations are required. Thirdly, it is also not optimum in addressing other disturb effects such as field coupling between neighboring charge storage elements at the floating gate level when the two neighbors are programmed at different times, such as separately in odd and even pages.

The problem of neighboring field coupling becomes more pronounced with ever closer spacing between memory transistors. In a memory transistor, a charge storage element is sandwiched between a channel region and a control gate. The current that flows in the channel region is a function of the resultant electric field contributed by the field at the control gate and the charge storage element. With ever increasing density, memory transistors are formed closer and closer together. The field from neighboring charge elements then becomes significant contributor to the resultant field of an affected cell. The neighboring field depends on the charge programmed into the charge storage elements of the neighbors. This perturbing field is dynamic in nature as it changes with the programmed states of the neighbors. Thus, an affected cell may read differently at different time depending on the changing states of the neighbors.

The conventional architecture of interleaving page exacerbates the error caused by neighboring floating gate coupling. Since the even page and the odd page are programmed and read independently of each other, a page may be programmed under one set of condition but read back under an entirely different set of condition, depending on what has happened to the intervening page in the meantime. The read errors will become more severe with increasing density, requiring a more accurate read operation and coarser partitioning of the threshold window for multi-state implementation. Performance will suffer and the potential capacity in a multi-state implementation is limited.

United States Patent Publication No. US-2004-0060031-A1 discloses a high performance yet compact non-volatile memory device having a large block of read/write circuits to read and write a corresponding block of memory cells in parallel. In particular, the memory device has an architecture that reduces redundancy in the block of read/write circuits to a minimum. Significant saving in space as well as power is accomplished by redistributing the block of read/write modules into a block read/write module core portions that operate in parallel while interacting with a substantially smaller sets of common portions in a time-multiplexing manner. In particular, data processing among read/write circuits between a plurality of sense amplifiers and data latches is performed by a shared processor.

Therefore there is a general need for high performance and high capacity non-volatile memory. In particular, there is a need for a compact non-volatile memory with enhanced read and program performance having an improved processor that is compact and efficient, yet highly versatile for processing data among the read/writing circuits.

SUMMARY OF INVENTION

A first set of aspects relate to a method of transferring data from an m-bit wide serial format to an N by m-bit wide parallel format, where N is an integer two or greater and m is an integer one or greater. The method includes receiving a stream of data on a serial bus in an m-bit wide serial format, receiving a first clock signal, and accessing information on m-bit units of data to be ignored when being transferred on a parallel bus. A second clock signal of variable rate is generated based on the first clock signal and upon the information on the units of data that are to be ignored. One or more first control signals are generated based on the first clock signal and upon the data on units of data that are to be ignored. Data is loaded from the serial data bus into one or more m-bit wide data sections of an N section wide latch according to the first clock signal based on the first control signals, wherein redundant entries are entered for units of data to be ignored. N m-bit wide units of data are transferred out from the latch to the parallel bus according to the second clock signal.

An additional set of aspects concern a circuit for transferring data from a serial format to a parallel format. The circuitry includes an m-bit wide serial data bus, where m is an integer one or greater, and an N by m-bit wide parallel data bus, where N is an integer two or greater. The circuitry also includes a memory storing information on bits being transferred out on the second bus that can be ignored and logic circuitry connected to the memory. The logic circuitry accesses the information on m-bit units of data to be ignored, receives a first clock signal, and generates therefrom a second clock signal of variable rate based on the first clock signal and upon the information on the units of data that are to be ignored. The logic circuitry also generates one or more first control signals based on the first clock signal and upon the data on the units of data that are to be ignored. A latch of N m-bit wide sections is connected to the serial and parallel data buses and to receive the first and second clock signals and the set of control signals, wherein the latch loads units of data from the serial data bus into one or sections of the latch according to the first clock signal based on the first control signals, wherein redundant entries are entered for units of data to be ignored and the latch transfers out N m-bit wide units of data from the latch to the parallel bus according to the second clock signal.

Various aspects, advantages, features and embodiments of the present invention are included in the following description of exemplary examples thereof, which description should be taken in conjunction with the accompanying drawings. All patents, patent applications, articles, other publications, documents and things referenced herein are hereby incorporated herein by this reference in their entirety for all purposes. To the extent of any inconsistency or conflict in the definition or use of terms between any of the incorporated publications, documents or things and the present application, those of the present application shall prevail.

BRIEF DESCRIPTION OF THE DRAWINGS

FIGS. 1A-1E illustrate schematically different examples of non-volatile memory cells.

FIG. 2 illustrates an example of an NOR array of memory cells.

FIG. 3 illustrates an example of an NAND array of memory cells, such as that shown in FIG. 1D.

FIG. 4 illustrates the relation between the source-drain current and the control gate voltage for four different charges Q1-Q4 that the floating gate may be storing at any one time.

FIG. 5 illustrates schematically a typical arrangement of a memory array accessible by read/write circuits via row and column decoders.

FIG. 6A is a schematic block diagram of an individual read/write module.

FIG. 6B shows the read/write stack of FIG. 5 implemented conventionally by a stack of read/write modules.

FIG. 7A illustrates schematically a compact memory device having a bank of partitioned read/write stacks, in which the improved processor of the present invention is implemented.

FIG. 7B illustrates a preferred arrangement of the compact memory device shown in FIG. 7A.

FIG. 8 illustrates schematically a general arrangement of the basic components in a read/write stack shown in FIG. 7A.

FIG. 9 illustrates one preferred arrangement of the read/write stacks among the read/write circuits shown in FIGS. 7A and 7B.

FIG. 10 illustrates an improved embodiment of the common processor shown in FIG. 9.

FIG. 11A illustrates a preferred embodiment of the input logic of the common processor shown in FIG. 10.

FIG. 11B illustrates the truth table of the input logic of FIG. 11A.

FIG. 12A illustrates a preferred embodiment of the output logic of the common processor shown in FIG. 10.

FIG. 12B illustrates the truth table of the output logic of FIG. 12A.

FIG. 13 illustrates the division of a memory array into divisions.

FIG. 14 is an example of how words of data are distributed across the divisions.

FIG. 15 is a schematic representation of some of the peripheral circuitry for distributing the data across the arrays.

FIG. 16 illustrates user clock and internal divisions' individual clock's timing relationship when there is no failure in the array.

FIG. 17 illustrates user clock and internal divisions' individual clock's timing relationship when there are bad columns.

FIG. 18 is a block diagram of the circuitry for generating the individual clock signals for the divisions.

FIGS. 19 and 20 are sets of waveforms respectively illustrating an N to 1 and 4 to 1 parallel to serial shift register.

FIG. 21 is a set of waveforms illustrating a 4 to 1 variable rate parallel to serial shift register where the parallel data may include skipped data.

FIG. 22 is a set of waveforms illustrating a 4 to 1 variable rate parallel to serial shift register with borrow data for included skipped data.

FIG. 23 is a box diagram exemplifying some circuitry to carry out the process illustrated in FIG. 22.

FIGS. 24 and 25 are sets of waveforms respectively illustrating 1 to 4 serial to parallel shift register respectively with and with variable rate.

FIG. 26 are sets of waveforms illustrating 1 to 4 variable rate serial to parallel shift register using a “sliding door” sort of arrangement for closing latches.

FIG. 27 is a box diagram exemplifying some circuitry to carry out the process illustrated in FIG. 26.

FIGS. 28-30 place the circuitry of FIGS. 23 and 27 in the context of non-volatile memory with column redundancy.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

FIG. 7A illustrates schematically a compact memory device having a bank of partitioned read/write stacks, in which the improved processor of the present invention is implemented. The memory device includes a two-dimensional array of memory cells 300, control circuitry 310, and read/write circuits 370. The memory array 300 is addressable by word lines via a row decoder 330 and by bit lines via a column decoder 360. The read/write circuits 370 is implemented as a bank of partitioned read/write stacks 400 and allows a block (also referred to as a “page”) of memory cells to be read or programmed in parallel. In a preferred embodiment, a page is constituted from a contiguous row of memory cells. In another embodiment, where a row of memory cells are partitioned into multiple blocks or pages, a block multiplexer 350 is provided to multiplex the read/write circuits 370 to the individual blocks.

The control circuitry 310 cooperates with the read/write circuits 370 to perform memory operations on the memory array 300. The control circuitry 310 includes a state machine 312, an on-chip address decoder 314 and a power control module 316. The state machine 312 provides chip level control of memory operations. The on-chip address decoder 314 provides an address interface between that used by the host or a memory controller to the hardware address used by the decoders 330 and 370. The power control module 316 controls the power and voltages supplied to the word lines and bit lines during memory operations.

FIG. 7B illustrates a preferred arrangement of the compact memory device shown in FIG. 7A. Access to the memory array 300 by the various peripheral circuits is implemented in a symmetric fashion, on opposite sides of the array so that access lines and circuitry on each side are reduced in half. Thus, the row decoder is split into row decoders 330A and 330B and the column decoder into column decoders 360A and 360B. In the embodiment where a row of memory cells are partitioned into multiple blocks, the block multiplexer 350 is split into block multiplexers 350A and 350B. Similarly, the read/write circuits are split into read/write circuits 370A connecting to bit lines from the bottom and read/write circuits 370B connecting to bit lines from the top of the array 300. In this way, the density of the read/write modules, and therefore that of the partitioned read/write stacks 400, is essentially reduced by one half.

FIG. 8 illustrates schematically a general arrangement of the basic components in a read/write stack shown in FIG. 7A. According to a general architecture of the invention, the read/write stack 400 comprises a stack of sense amplifiers 212 for sensing k bit lines, an I/O module 440 for input or output of data via an I/O bus 231, a stack of data latches 430 for storing input or output data, a common processor 500 to process and store data among the read/write stack 400, and a stack bus 421 for communication among the stack components. A stack bus controller among the read/write circuits 370 provides control and timing signals via lines 411 for controlling the various components among the read/write stacks.

FIG. 9 illustrates one preferred arrangement of the read/write stacks among the read/write circuits shown in FIGS. 7A and 7B. Each read/write stack 400 operates on a group of k bit lines in parallel. If a page has p=r*k bit lines, there will be r read/write stacks, 400-1, . . . , 400-r.

The entire bank of partitioned read/write stacks 400 operating in parallel allows a block (or page) of p cells along a row to be read or programmed in parallel. Thus, there will be p read/write modules for the entire row of cells. As each stack is serving k memory cells, the total number of read/write stacks in the bank is therefore given by r=p/k. For example, if r is the number of stacks in the bank, then p=r*k. One example memory array may have p=512 bytes (512×8 bits), k=8, and therefore r=512. In the preferred embodiment, the block is a run of the entire row of cells. In another embodiment, the block is a subset of cells in the row. For example, the subset of cells could be one half of the entire row or one quarter of the entire row. The subset of cells could be a run of contiguous cells or one every other cell, or one every predetermined number of cells.

Each read/write stack, such as 400-1, essentially contains a stack of sense amplifiers 212-1 to 212-k servicing a segment of k memory cells in parallel. A preferred sense amplifier is disclosed in United States Patent Publication No. 2004-0109357-A1, the entire disclosure of which is hereby incorporated herein by reference.

The stack bus controller 410 provides control and timing signals to the read/write circuit 370 via lines 411. The stack bus controller is itself dependent on the memory controller 310 via lines 311. Communication among each read/write stack 400 is effected by an interconnecting stack bus 431 and controlled by the stack bus controller 410. Control lines 411 provide control and clock signals from the stack bus controller 410 to the components of the read/write stacks 400-1.

In the preferred arrangement, the stack bus is partitioned into a SABus 422 for communication between the common processor 500 and the stack of sense amplifiers 212, and a DBus 423 for communication between the processor and the stack of data latches 430.

The stack of data latches 430 comprises of data latches 430-1 to 430-k, one for each memory cell associated with the stack The I/O module 440 enables the data latches to exchange data with the external via an I/O bus 231.

The common processor also includes an output 507 for output of a status signal indicating a status of the memory operation, such as an error condition. The status signal is used to drive the gate of an n-transistor 550 that is tied to a FLAG BUS 509 in a Wired-Or configuration. The FLAG BUS is preferably precharged by the controller 310 and will be pulled down when a status signal is asserted by any of the read/write stacks. (The isolation latch IL 529 is discussed in the following section on bad column management.)

FIG. 10 illustrates an improved embodiment of the common processor shown in FIG. 9. The common processor 500 comprises a processor bus, PBUS 505 for communication with external circuits, an input logic 510, a processor latch PLatch 520 and an output logic 530.

The input logic 510 receives data from the PBUS and outputs to a BSI node as a transformed data in one of logical states “1”, “0”, or “Z” (float) depending on the control signals from the stack bus controller 410 via signal lines 411. A Set/Reset latch, PLatch 520 then latches BSI, resulting in a pair of complementary output signals as MTCH and MTCH*.

The output logic 530 receives the MTCH and MTCH* signals and outputs on the PBUS 505 a transformed data in one of logical states “1”, “0”, or “Z” (float) depending on the control signals from the stack bus controller 410 via signal lines 411.

At any one time the common processor 500 processes the data related to a given memory cell. For example, FIG. 10 illustrates the case for the memory cell coupled to bit line 1. The corresponding sense amplifier 212-1 comprises a node where the sense amplifier data appears. In the preferred embodiment, the node assumes the form of a SA Latch, 214-1 that stores data. Similarly, the corresponding set of data latches 430-1 stores input or output data associated with the memory cell coupled to bit line 1. In the preferred embodiment, the set of data latches 430-1 comprises sufficient data latches, 434-1, . . . , 434-n for storing n-bits of data.

The PBUS 505 of the common processor 500 has access to the SA latch 214-1 via the SBUS 422 when a transfer gate 501 is enabled by a pair of complementary signals SAP and SAN. Similarly, the PBUS 505 has access to the set of data latches 430-1 via the DBUS 423 when a transfer gate 502 is enabled by a pair of complementary signals DTP and DTN. The signals SAP, SAN, DTP and DTN are illustrated explicitly as part of the control signals from the stack bus controller 410.

FIG. 11A illustrates a preferred embodiment of the input logic of the common processor shown in FIG. 10. The input logic 520 receives the data on the PBUS 505 and depending on the control signals, either has the output BSI being the same, or inverted, or floated. The output BSI node is essentially affected by either the output of a transfer gate 522 or a pull-up circuit comprising p-transistors 524 and 525 in series to Vdd, or a pull-down circuit comprising n-transistors 526 and 527 in series to ground. The pull-up circuit has the gates to the p-transistor 524 and 525 respectively controlled by the signals PBUS and ONE. The pull-down circuit has the gates to the n-transistors 526 and 527 respectively controlled by the signals ONEB<1> and PBUS.

FIG. 11B illustrates the truth table of the input logic of FIG. 11A. The logic is controlled by PBUS and the control signals ONE, ONEB<0>, ONEB<1> which are part of the control signals from the stack bus controller 410. Essentially, three transfer modes, PASSTHROUGH, INVERTED, and FLOATED, are supported.

In the case of the PASSTHROUGH mode where BSI is the same as the input data, the signals ONE is at a logical “1”, ONEB<0> at “0” and ONEB<1> at “0”. This will disable the pull-up or pull-down but enable the transfer gate 522 to pass the data on the PBUS 505 to the output 523. In the case of the INVERTED mode where BSI is the invert of the input data, the signals ONE is at “0”, ONEB<0> at “1” and ONE<1> at “1”. This will disable the transfer gate 522. Also, when PBUS is at “0”, the pull-down circuit will be disabled while the pull-up circuit is enabled, resulting in BSI being at “1”. Similarly, when PBUS is at “1”, the pull-up circuit is disabled while the pull-down circuit is enabled, resulting in BSI being at “0”. Finally, in the case of the FLOATED mode, the output BSI can be floated by having the signals ONE at “1”, ONEB<0> at “1” and ONEB<1> at “0”. The FLOATED mode is listed for completeness although in practice, it is not used.

FIG. 12A illustrates a preferred embodiment of the output logic of the common processor shown in FIG. 10. The signal at the BSI node from the input logic 520 is latched in the processor latch, PLatch 520. The output logic 530 receives the data MTCH and MTCH* from the output of PLatch 520 and depending on the control signals, outputs on the PBUS as either in a PASSTHROUGH, INVERTED OR FLOATED mode. In other words, the four branches act as drivers for the PBUS 505, actively pulling it either to a HIGH, LOW or FLOATED state. This is accomplished by four branch circuits, namely two pull-up and two pull-down circuits for the PBUS 505. A first pull-up circuit comprises p-transistors 531 and 532 in series to Vdd, and is able to pull up the PBUS when MTCH is at “0”. A second pull-up circuit comprises p-transistors 533 and 534 in series to ground and is able to pull up the PBUS when MTCH is at “1”. Similarly, a first pull-down circuit comprises n-transistors 535 and 536 in series to Vdd, and is able to pull down the PBUS when MTCH is at “0”. A second pull-up circuit comprises n-transistors 537 and 538 in series to ground and is able to pull up the PBUS when MTCH is at “1”.

One feature of the invention is to constitute the pull-up circuits with PMOS transistors and the pull-down circuits with NMOS transistors. Since the pull by the NMOS is much stronger than that of the PMOS, the pull-down will always overcome the pull-up in any contentions. In other words, the node or bus can always default to a pull-up or “1” state, and if desired, can always be flipped to a “0” state by a pull-down.

FIG. 12B illustrates the truth table of the output logic of FIG. 12A. The logic is controlled by MTCH, MTCH* latched from the input logic and the control signals PDIR, PINV, NDIR, NINV, which are part of the control signals from the stack bus controller 410. Four operation modes, PASSTHROUGH, INVERTED, FLOATED, and PRECHARGE are supported.

In the FLOATED mode, all four branches are disabled. This is accomplished by having the signals PINV=1, NINV=0, PDIR=1, NDIR=0, which are also the default values. In the PASSTHROUGH mode, when MTCH=0, it will require PBUS=0. This is accomplished by only enabling the pull-down branch with n-transistors 535 and 536, with all control signals at their default values except for NDIR=1. When MTCH=1, it will require PBUS=1. This is accomplished by only enabling the pull-up branch with p-transistors 533 and 534, with all control signals at their default values except for PINV=0. In the INVERTED mode, when MTCH=0, it will require PBUS=1. This is accomplished by only enabling the pull-up branch with p-transistors 531 and 532, with all control signals at their default values except for PDIR=0. When MTCH=1, it will require PBUS=0. This is accomplished by only enabling the pull-down branch with n-transistors 537 and 538, with all control signals at their default values except for NINV=1. In the PRECHARGE mode, the control signals settings of PDIR=0 and PINV=0 will either enable the pull-up branch with p-transistors 531 and 531 when MTCH=1 or the pull-up branch with p-transistors 533 and 534 when MTCH=0.

Common processor operations are developed more fully in U.S. patent publication number US-2006-0140007-A1, which is hereby incorporated in its entirety by this reference.

Column Redundancy Circuitry

Non-volatile memories, such as those described in the preceding sections, often have failures on the column related circuitry, which can show up as bit line shorts, open bit lines, and data latch read/write failures, for example. As the scale of memory devices decrease, while the lengths of bit lines and word lines grow, such memory circuits become more susceptible to bit line and word line failures. (Methods of detecting and dealing with defective word lines are discussed in US patent publication and application numbers: US-2012-0008405-A1; US-2012-0008384-A1; US-2012-0008410-A1; Ser. Nos. 13/193,148; 13/332,780; and 13/411,115.) To reliably store user data, it needs to be written into and accessed from good columns, instead of bad columns. These bad columns need to be ignored and/or replaced during memory data input and output operations. This section presents a column redundant circuit to reduce circuit size and improve performance. User data is grouped in an interleaved manner so that data belonging to consecutive logical address will be distributed into different physical locations. For example, all column data can be physically grouped into, say, 5 divisions and user data can be written into or accessed from one division after another consecutively. Each division has its own clock control. The column redundancy block can generate bad column locations' information and send it to control logic to switch the user clock to a different division clock, thereby skipping bad columns. By controlling the clocks for different columns, the user can directly access good columns without touching bad columns.

A number of previous approaches are known for addressing defective columns, some of which are discussed in U.S. Pat. Nos. 6,985,388; 7,170,802; 7,663,950; 7,974,124; US patent publication number US-2011-0002169-A1; and U.S. patent application Ser. No. 13/420,961 filed Mar. 15, 2012. For example, in some memory designs, a number of spare columns are set aside and the column redundancy circuits use spare columns to replace the defective columns, so that when a defective column is to be accessed, it is remapped to a replacement form the set of spares. This solution has the drawback that as the spare columns can also have defects, these will in turn need other spare columns to repair. High speed operation is also a concern in such an arrangement. In another arrangement, the external controller stores the bad column locations and ignores that columns' data. This solution requires the controller to read from memory during power-on and retrieve any bad column data. When the number of bad columns increases, the unused data (bad column) input/output can reduce the effective data performance. Therefore, memory circuits could benefit from better column redundancy circuitry, particularly if implemented inside the memory circuit and in a way that can be transparent to the controller so the performance is not adversely affected.

The arrangement presented in this section divides the physical columns evenly into a number of sub-divisions, where the exemplary embodiment uses 5 such divisions. FIG. 13 shows an array 600 that is split up into five divisions, DIV0 601-0, DIV1 601-1, DIV2 601-2, DIV3 601-3, DIV4 601-4. Note that the array 600 corresponds to a single array, such as 100 in FIG. 5 or 300 in FIGS. 7A and 7B, rather separate arrays, so that the word lines of the array (such as WL 621) span all of the divisions. Each division 601-i includes a number of spare columns 611-i. The number of columns as seen from the controller (the number of columns corresponding to logical addresses) is the number outside of the spare sections, where the spares are used as described below as replacements for defective columns. The divisions all here taken to all have the same number of columns, although in some embodiments, depending on the total number of columns in the space and the number of division chosen, these size of the division may differ somewhat.

In the exemplary embodiment, each column has one word or two bytes. An example of column data arrangement shown in FIG. 14. The consecutive logic data will be evenly distributed into five divisions, so that data will be accessed from one division to the next one and cycled back. (FIG. 14 is for the case when no columns are skipped, which will be discussed further down.) As shown in FIG. 14, the first word (Bytes 0,1) are loaded into the first column of DIV0 by the corresponding access circuitry BYCOM0. Then next word is then loaded into the first column of DIV1, and so on until the last column of DIV4 are loaded (here, Bytes 578, 579 by BYCOM56). The process then starts over with the next word (Bytes 580, 581) at DIV0 with BYCOM0. In the exemplary embodiment, this distribution of data across the divisions is performed on the memory and is transparent to the controller. It should again be noted that the number of columns, divisions, and so on can varying according to the embodiment, with the exemplary embodiment just one case.

FIG. 15 is a schematic representation of some of the peripheral circuitry involved in this process. One or, for increased speed, more data busses are connected to transfer data to and from the column circuit. The example uses two busses, YIO_PB<15:0> 647 and YIO_PB<31;16>, each a word wide that is connected to the peripheral circuitry, where they can be independently accessed by each of the latches of DFF16<0> 645-0 to DFF16<4> 645-4 by controlling their clock signals CLK<0> to CLK<4>. The word of data from each of 645-i is then respectively transferred to latches YODR<i> 643-i, each controlled by the data clock DATA_CLK. The words of data are then transferred along6 IOBUSi compiled in the group of latches BYCOM 641-i for the columns each of division DIVi, from where they are then transferred on to the sense amp circuitry (not shown in FIG. 15, see FIG. 8 or 9 above) on the other side of 641-i. In the case of a read operation, the transfer would be in the opposite direction from that just described for a write operation.

A division is only selected when its corresponding clock goes high (CLK<i> for division i). If there is no bad column in the array, the clocks will run consecutively from Div0 to Div4 and repeat. An example of user clock and internal divisions' individual clock's timing relationship shows in FIG. 16 when there is no failure in the array. Across the top of FIG. 16, the user clock is shown. From this clock, the divisions' individual clocks Clk<0> to Clk<4> are then generated as show and applied to the circuitry for the corresponding columns. In this way, the words of user data are sequentially transferred of the bus or busses.

The arrangement shown in FIG. 16 is for the case of all of columns being good. When an internal clock's corresponding physical column is bad, that division's clock will be skipped, and instead the next division's clock will follow and put user data into that division. Effectively, the memory can skip the bad column and only access good columns, as illustrated with respect to FIG. 17.

In the example of FIG. 17, physical column 2, column 5 and column 7 are bad columns, and the user only should access good columns and skips these bad columns. The clock timing scheme show is shown in FIG. 17 for this case. Column 2 belongs to division 2, and when it access word 2, the clock should skip division 2 and goes to division 3. Column 5 belongs to division 0 is bad, and Clk<0> will be skipped and user clock goes to Clk<1>. Note that there is not a delay for the skipped columns. The process then continues on through the number of clock signals corresponding the number of columns as seen from outside of the array, with the number of bad columns being replaced by the spare columns of the areas 611-i of the array 600. Once this perceived total number of columns is reached, the process continues on, starting over at the first (good) column.

The listing of bad column addresses can be stored outside of the peripheral circuit in non-volatile memory, such as in a fusible ROM or even the memory array itself, depending on the embodiment. In the exemplary embodiment, the bad columns are determined and set at test time, such as part of a built in self-test (BIST) process, although other embodiments could subsequently update the listing. FIG. 18 shows a block level diagram for the storage and clock switch circuit. During operation, the listing of bad columns can be stored be read into the a volatile random access memory 653 on the clock switch circuit that can supply the bad<4:0>5 bit bus to the clock switch circuit 651 so that the user clock can be routed to different division clocks based on the bad column information.

Using this arrangement, the memory circuit can use the bad columns addresses to take the user clock inputs and generate the individual clocks for the different divisions. This allows the memory circuit to automatically skip bad columns and access only the good columns for user data, without the need to assign spare columns like conventional scheme and without impacting performance by bad columns. The arrangements of this section are developed further in U.S. patent application Ser. No. 13/463,422.

Variable Rate Parallel to Serial Shift Registers

The preceding discussion has looked at ways of transferring data to and from a non-volatile memory that can have defective columns that need to be skipped. In a read operation, this mean that data is retrieved from the array in a parallel format before being sent out on a data bus in serial formant. In a write operation, the data comes in serially on the bus and then is transferred to the column latches in parallel. Consequently, the read and write operations respectively use parallel-to-serial and serial-to-parallel data shift registers; and, due to the need to skip bad columns, in both cases these are shift registers of variable rate. The next section considers the case of variable rate serial to parallel shift registers further, while this section looks at the parallel to serial case. Specifically, this section looks techniques involving borrow data to reduce worst case timing in variable rate parallel to serial shift registers. A subsequent section will relate both of these cases back to the memory array structures described above.

FIG. 19 illustrates the general situation of data coming in on an n+1 bit wide data bus and going out on a serial bus. For such a parallel to serial shift register, this can be implemented as two shift registers: a parallel shift register on the wider bus with a slower clock (PCLK) frequency, and a serial shift register for the narrower bus with a higher clock (SCLK) frequency. (More generally, this applies to an (n+1)×m-wide parallel to m-wide serial case.) As shown at top, the parallel bus lines BUS0-BUSn are transferred from the parallel shift register (SR) to an (n+1) bit wide serial shift register with the PCLK, with the next (n+1) bits on the parallel bus then being loaded onto the parallel SR. Thus, as shown in FIG. 19, initially the bits w00-w0n are in the parallel SR and, when PCLK goes high, transfer over to the serial SR, with the bits of w10-w1n ten loading into the parallel SR. Here the notation “w” is used as are more generally m-bit words, for some integer m. The contents of serial SR elements R0-Rn are then sequentially shifted up to the next register slot and, from R0, on to the serial bus based on SCLK. If no skipped entries, there are then n+1 SCLKs for each PCLK. As shown, this process continues on as the data comes in on the parallel bus. The example of the n=3 case of 4-to-1 parallel to serial conversion is shown in FIG. 20.

In a variable rate parallel to serial shift register, there are some locations in the parallel shift register that are to be skipped. For instance, this would be the case for bad columns when the parallel data is being read out an array such as in the preceding section. As the serial clock shifts data out of the serial SR at a steady rate, the parallel clock will need to load in another set of data into the parallel SR sooner. Consequently, the PCLK period is not a fixed cycle, with the PCLK period depending of the number of skipped entries in the previous cycle. Each unit of the serial shift register needs to have a bypass function if it load data that is to be skipped from the parallel shift register. An example of this is illustrated in FIG. 21.

FIG. 21 begins as in FIG. 20, as there are no skipped entries in the first set of data, as indicated by Skip[3:0] having all 0s. The next set of bits loading into the parallel SR has two entries that are to be skipped, where, as indicated by the is in the middle of Skip[3:0], these are on from BUS1 and BUS2 and are represented as “skip”. At the second PCLK, these values are loaded into the serial SR, where the middle two elements to be skipped are represented as “s”. At the first subsequent SCLK, the R0 entry is transferred out on to the serial bus and, due to the two entries to skip in R1 and R2, the R3 entry of w13 needs to be shifted across to R0, skipping R1 and R2. In the next SCLK, the R0 entry of w13 is then shifted out on to the serial bus. In this way, there are no gaps for the skipped items and the process can appear transparent as seen from the serial bus. As all of the valid entries have now been shifted out of the serial shift register, the next PCLK signal is then needed to shift the next data from the parallel SR to the serial SR. Note that as there were only 2 valid data entries, rather than 4, the corresponding PCLK cycle is only 2 SCLK cycles long, rather than being 4 cycles in duration. The process continues, with another skipped entry off of BUS1 two PCLKs later.

The skipped entries will increase the amount of gate delay and signal travel distance in one SCLK cycle. For example, in FIG. 21 when the R0 entry is w10, the R3 entry is w13, and the R1 and R2 entries are both to be skipped, during the single SCLK cycle in which w10 is transferred out of R0, w13 also needs to be transferred all the way from R3 to R0. This sort of gate delay and signal travel distance can become a performance bottleneck if the SCLK period is shortened.

Under the arrangement of FIGS. 20 and 21, each element Ri of the serial shift register receives data only from BUSi: for example, w00 goes from BUS0 to R0, w01 from BUS1 to R1, and so on. According to a principle aspect of this section, the data refresh cycle data path is modified so that the serial shift register elements can conditionally update from other BUS elements. For example, in the exemplary embodiment, Ri can conditionally update from BUS(i+1). This is illustrated in FIG. 22.

FIG. 22 corresponds to the same incoming data, Parallel SR-BUS transfers, PCLK, and Skip[3:0] traces as in FIG. 21. Now, however, during the data refresh cycle when data is transferred from the parallel shift register to the serial shift register, BUS3 data can transfer to R3 or R2, BUS2 data can transfer to R2 or R1, and BUS1 data can transfer to R1 or R0. Thus, at the second shown PCLK clock, the w13 data is transferred into R2 as well as R3. Consequently, when w10 is shifted out on to the serial bus, w13 only needs to skip one unit in the serial shift register, from R2 to R0, instead of two units from R3 to R0. If there is only a single element to be skipped, as at the fourth shown clock signal, no serial SR units need be skipped, as where w33 is loaded into R2 as well as R3. Consequently, by loading data from BUS(i+1) to Ri, the maximum number of skipped units in the serial shift register is reduced by 1.

FIG. 23 is a block diagram to illustrate some exemplary circuit elements to implement this process. The parallel data bus 705 feeds into the parallel shift register or latch 701, which receives the clock signal PCLK that controls when one set of contents from the latch 701 is moved to the serial shift register 703 and the next set of data is loaded in off of the parallel bus. The contents of the serial shift register SR 703 are then sequentially shifted out onto the serial bus 707 according to the clock SCLK. The set of multiplex circuits 710, 711, 712 allow for more than one element of the latch 701 to be selectively transferred to the elements of the serial shift register. Here, MUX 710 allows for either BUS0 or BUS data to be transferred to R0, MUX 711 allows either BUS1 or BUS2 data to go to R1, and MUX 712 allows either BUS 3 or BUS 2 data to go to R2.

To generate the PCLK and control signals to bring this about, so logic is needed and is represented at Logic 721. For the example of a non-volatile memory array, this would again be part of the peripheral and decoding circuitry for the array. The relevant parts for the discussion here include a PCLK generation circuit 725 that receives the serial clock SCLK and the Skip data and then generates PCLK as a multiple of SLCK, where the multiple is the number of entries in 701 that are not to be skipped. The Skip data comes from the memory 731 and in the example of a column based memory array would be the bad column location storage, similar to element 653 in FIG. 18. The MUXs 710, 711, 712 receive the control signals CON1 from the control generation logic 723 and are again determined based on the Skip information and SCLK.

In this exemplary embodiment, the MUXs are arranged so that an element of SR 703 can receive refresh data from one of, at most, two different BUS data; for example, R1 can receive BUS1 or BUS2, but not BUS3. Consequently, this arrangement reduces the maximum skip needed in the serial shift register by 1. In other embodiments, the arrangement to be set up so to allow more general transfers to further reduce number of skipped elements. This largely a design choice, since a more general MUX arrangement adds complexity to this part of the circuit, but reduces the amount of circuitry needed to skip units of the serial shift register. This decision can be based on how frequently skips are expected. In this case, more than one skip per set of data coming in on the serial bus 705 are infrequent enough that the reducing the maximum skip by 1 is considered a good compromise between increased MUX complexity and serial SR skips. Consequently, although the amount of need skips are reduced, in this embodiment the serial shift register 703 will still need the ability to skip units. This was seen in FIG. 22 for the case when both the BUS1 and BUS2 needed to be skipped. This is represented by the arrow to the right of SR 703 and the control signal generation logic circuitry 723 can again supply this signals CON2 based on the Skip data.

For any embodiment employing this technique, by reducing the maximum skip distance in the serial shift register, amount of gate delay and signal travel distance is shortened, reducing or even eliminating the timing bottleneck in the serial SR so higher speed can be achieved.

Serial to Parallel Shift Register

This section looks at the serial to parallel transition, where the latches are closed in a sort of “sliding door” arrangement for fixed or variable rate serial to parallel shift registers. The aspects described in the section can reduce the number of high speed signals need in serial to parallel circuits.

FIG. 24 looks at a serial to parallel, 1 to N conversion, where there is 1 data in port and N parallel latches where each of the latches has a clock to latch the data at different time. Here N=4 and the serial data trace at top and the individual clocks CLK0-CLK3 are such as those described in FIG. 16 above for an N=5 case. The bits, or more generally multi-bit words, come in on the serial bus SBUS as serial data and are sequentially loaded in the latches LAT0-LAT3 according to the clocks CLK0-CLK3. Once all of the latch units are loaded, PCLK goes high and the data is shifter out on to the parallel data bus. When, as in FIG. 24, none of the data being loaded on the data bus is to be skipped, the parallel clock PCLK is the same as CLK3.

FIG. 25 looks at the case where data is to be skipped, the situation being reversed from the parallel to serial case of the last section. Here, the data comes in on the serial bus with every clock and no gaps or skips, but when loaded on to the parallel bus there may be locations that are to be skipped. Again, the idea is that as seen from outside on the serial bus, any data to be skipped on the parallel bus is largely taken care of internally. In the exemplary embodiments, the skipped locations again correspond to bad columns of a non-volatile memory array and any skips are taken care of on the memory chip in a manner transparent to the controller so that the data being transferred serially between a memory chip and controller has any skips for bad columns already edited out.

In FIG. 25, an example of an N=4 serial to parallel conversion for a variable rate, serial to parallel latch arrangement where some of the CLK signals are skipped. The arrangement is similar to that described above with respect FIG. 17 for the N=5 case. As the serial data bit (or m-bit words) w0, w1, . . . come in on the serial bus SDATA one after another, they are again loaded into the latch elements LAT0-LAT3 based upon the CLK0-CLK3 signals. Now however, when an element to be sent to the PBUS is to be skipped the corresponding CLK signal is skipped. Thus, the first CLK1 signal is skipped in the first set of CLKs and the CLK3 skipped in the second. The data of skipped location in the parallel bus is “don't care”, indicated by “##”. Once the contents of the latch that are not to be ignored are all in, they are then shifted out onto the parallel bus based on PCLK.

In this arrangement, the input boundary signals are SDATA, CLK0˜3 and PCLK in this example. Consequently, there are many high speed clocks with low duty cycle that need to be provided to the latch structures. This will require more routing space on the system to avoid any degradation that otherwise occur for the clock pulse shape. The generation of the CLK0˜N signals depends on how many skip location allowed in one parallel cycle, where the more allowed skips, the more cases that need to be considered in the design. Rather than trying to generate the many different clock signals for each of the latches, the exemplary embodiment here makes each latch clock to default open and to close only when needed. This illustrated in FIG. 26.

FIG. 26 is an exemplary N=4 embodiment. The input boundary signals are the serial data SDATA, the indication BAD0˜3 of which elements of the parallel bus are to be skipped, the parallel clock PCLK for transfer the latched data out to the parallel bus, and the clock SCLK. The high speed signals are reduced to only the single input of SCLK.

In FIG. 26, at top the bits, or more generally m-bit words, w0, w1, . . . of serial data again come in on the serial data bus. The serial or user clock is shown at SCLK. The latches elements LAT0˜3 are loaded according to the locally generated LATCLK signals. Each LATCLK will set to open at PCLK high cycle, and will sequentially close when LATCLK(n−1) goes low. The BAD signals indicate which latch elements are to be ignored in the next set to load on to the PBUS; for example, at the beginning BAD1 is high indicating PBUS1 is to be ignored, with w1 instead going to PBUS 2. Similarly, when BAD3 is later high, w6 in not loaded to PBUS3 but PBUS0 at the next refresh. (The BAD information is one cycle early so that the current LATCLK can know how to behave after the update (PCLK) cycle.) The memory will load the skip information at PCLK falling edge: if it loads a skip cycle, it will bypass the previous LATCLK to its next unit.

Consequently, as shown at the first falling PCLK, w0 is loaded at all the LAT0˜3. As BAD1 is high, at the next SCLK LATCLK0 and LATCLK1 fall. w1 is then loaded at LAT 2 and LAT3, after which LATCLK 2 falls. w2 is then loaded in at LAT3. When PCLK next falls, all of LAT0˜3 are loaded onto PBUS0˜3. Although w0 is still in LAT1 and thus loaded onto PBUS1, this corresponds to data to be ignored (w##). Note that when the corresponding LATCLK is high, the latch is open and the SDATA will pass through the latch, with the PCLK falling edge taking a snapshot of all the latch elements and put this on the PBUS. Under this arrangement, sometimes the LATCLK2 may not close and the LAT3 is the SDATA.

In the exemplary embodiment, the 1 to 4 serial to parallel maximum skip is two, although further optimization is available to reduce the number of skips needed. In the PCLK cycle, the LATCLK0/1 may not be set to 1. If BAD0 is high, LATCLK0 will not set to 1. If BAD0/1 are both high, LATCLK0/1 will be both 0 after PCLK cycle. This will reduce 30% of the skip cases.

FIG. 27 is a block diagram to illustrate some exemplary circuit elements to implement this process. Again, the exemplary embodiment is for N=4. The latch 801 transfers data out onto the PBUS 805 based on the PCLK. The PCLK signal can generated similarly to that of the preceding section, as a multiple of the SCLK, the multiple being the number of elements that are not to be skipped (or, in this example, 4 minus the number of skipped entries going out on PBUS 805). The next set of data is then loaded in off the serial bus 807, starting with all of the latches open, but then being closed in the sort of sliding door manner described with respect to FIG. 26, with the latches being sequentially closed based upon the LATCLK signal going low. The LATCLK signals are generated by some logic, represented by box 821, based upon the SCLK and the BAD data that indicates which entries on PBUS to skip. The BAD data is again imported from a memory to hold this information. In the exemplary embodiment, this could again correspond to bad columns, as is discussed further in the next section. Of the inputs to FIG. 27, the number of high speed signals requirement in serial to parallel circuit is reduced to just SCLK.

Memory Array Access with Bad Column Information

This section relates the parallel-to-serial and serial-to-parallel arrangements of the last two sections back to their use in transferring data from and to a memory array that is accessed on a column basis, where some of the columns are to be ignored. In this way it is similar to the earlier sections above, but employing the techniques describer with respect to FIGS. 19-27. FIG. 28 roughly corresponds to FIG. 15 of the earlier described embodiments, but incorporated the sort of structure described with respect to FIGS. 23 and 27, as shown more explicitly in FIGS. 29 and 30, respectively.

The diagram of FIG. 28 shows the simplified core datapath, the YCOMs and IOBUSs 901-i and top row of DFFs 911-i corresponds to the parallel shift register. The bottom row of DFFs 931-i corresponds to the serial shift register for transferring out read data on YRDATA, DATA_CLK corresponds to PCLK, and SR_CLK to SCLK in the previous context. The middle arrow to the MUXs 961-i is the borrow neighbor data path implemented by the MUXs of FIG. 23. The middle row of latches LAT 921-i are used in the write process for the serial to parallel conversion of the write process, where the write data YWDATA comes in in a 16-bit word serial format. The control signals to effect the skips for ignore data of bad columns come from the skip logic or 941-i and the device select data 951.

FIG. 29 shows just the parallel to serial elements of FIG. 28 that are involved in the read process, with the write-specific elements suppress to simply the diagram. The upper rows of elements, the YCOMs and IOBUSs 901-i and top row of DFFs 911-i, correspond to 4×16 the parallel shift register. The serial shift register is then the DFFs 931-i across the bottom, where the elements 931-0, 931-1, and 931-2 are respectively feed by the MUXs 921-0, 921-1, 921-2 so as to reduce the number of needed skips by 1 in case of any bad column data. The elements 971-i, which are controlled by the logic 941-i and 751, provide for any additional needed skips, as this embodiment only reduces the maximum skip by 1. The read data is then shifted out on the bus YRDATA in (16-bit wide) serial format. FIG. 30 similarly illustrates the write path elements, where the (16-bit wide) serial data comes in on YWDATA, where it is latched as described above with respect to FIGS. 24-27 and shifted out in (4×16) parallel format.

CONCLUSION

Although the various aspects of the present invention have been described with respect to certain embodiments, it is understood that the invention is entitled to protection within the full scope of the appended claims. 

What is claimed is:
 1. A method of transferring data from an m-bit wide serial format to an N by m-bit wide parallel format, where N is an integer two or greater and m is an integer one or greater, comprising: receiving a stream of data on a serial bus in an m-bit wide serial format; receiving a first clock signal accessing information on m-bit units of data to be ignored when being transferred on a parallel bus; generating a second clock signal of variable rate based on the first clock signal and upon the information on the units of data that are to be ignored; generating one or more first control signals based on the first clock signal and upon the data on units of data that are to be ignored; loading data from the serial data bus into one or more m-bit wide data sections of an N section wide latch according to the first clock signal based on the first control signals, wherein redundant entries are entered for units of data to be ignored; and transferring out N m-bit wide units of data from the latch to the parallel bus according to the second clock signal.
 2. The method of claim 1, wherein, subsequent to transferring out of N m-bit wide units of data from the latch, the first unit of data received from the serial bus is loaded to all of N sections of the data latch, with one less section, and sections holding any units of data to be ignored, of the latch loaded for each subsequent unit of data received from the serial data bus until the contents of the latch are transferred out.
 3. The method of claim 1, wherein the data corresponds to data to be written to one or more word lines of a non-volatile memory array and the bits to be ignored correspond to defective columns of the array.
 4. The method of claim 1, wherein the period of the second clock signal is a multiple of the first clock signal, the multiple is N less the number of units that are to be ignored currently in the latch.
 5. A circuit for transferring data from a serial format to a parallel format, comprising: an m-bit wide serial data bus, where m is an integer one or greater; an N by m-bit wide parallel data bus, where N is an integer two or greater; a memory storing information on bits being transferred out on the second bus that can be ignored; logic circuitry connected to the memory to access the information on m-bit units of data to be ignored and to receive a first clock signal and to generate therefrom a second clock signal of variable rate based on the first clock signal and upon the information on the units of data that are to be ignored and to generate one or more first control signals based on the first clock signal and upon the data on the units of data that are to be ignored; and a latch of N m-bit wide sections connected to the serial and parallel data buses and to receive the first and second clock signals and the set of control signals, wherein the latch loads units of data from the serial data bus into one or sections of the latch according to the first clock signal based on the first control signals, wherein redundant entries are entered for units of data to be ignored and the latch transfers out N m-bit wide units of data from the latch to the parallel bus according to the second clock signal.
 6. The circuit of claim 5, wherein, subsequent to transferring out of N m-bit wide units of data from the latch, the first unit of data received from the serial bus is loaded to all of N sections of the data latch, with one less section, and sections holding any units of data to be ignored, of the latch loaded for each subsequent unit of data received from the serial data bus until the contents of the latch are transferred out.
 7. The circuit of claim 5, wherein the data corresponds to data to be written to one or more word lines of a non-volatile memory array and the bits to be ignored correspond to defective columns of the array.
 8. The circuit of claim 5, wherein the period of the second clock signal is a multiple of the first clock signal, the multiple is N less the number of units that are to be ignored currently in the latch. 